package edu.sctu.liangyuxiang.day20150508;



/**
 * Created by 梁玉翔 on 2015/5/8.
 */
public class TestTwo {

    private  TestThree testThree = new TestThree();
   public TestThree mathOne(TestOne testone){

        int number1 = 0;

        for (int i = 0; i <=testone.number ; i++) {
            number1 = number1 + i;
        }
       testThree.number = number1;
        return testThree;
    }
}
